Added login&signup functionality