fixed bug when clicking sign up, made application#current_user a helper ...

...method to be available in views