Added login, not working fully
Added register and login with entitymanager