(feat) login and signup work with front-end