change to autoLogin type for users