Fixed bug on signup, cleaned login, implemented validation