가입기능
code refactoring for beauty