Switched to devise for user authentication.

Let's hope this works.
Should fix the issues with devise.
Devise is now being used for user registration and authentication.
Using devise for user authentication and registration now.

Also did some styling