(feat) implement functions of login and signup