login with remember feature,logout feature