Member login error

@jonatandor35 So how would I rewrite the above?