Added functioning login form