Working login mechanism, CSS fixed