login procedure is improved, rememberMe option implemented