login,register all works at this commit