Change the user authentication verification to use the devise helper
Remove unused lines