(feat) imprement functions for login and signup