created login and some security