css login refactored