login and style fixes