wrote login/signup pages and corresponding controller logic
added user class method