cleaned up user authentication, ui with rotation, works well