Added logout, fixed login, required field validators at registerration