add login/logout feature and friend list feature