added user authentication (signup, login, edit)