removed login directive and added registration steps