some style changes and fixed user registration