Login/Register

moved login register to directive