add function login,adding building...