Devise authentication. Basic error handling etc.