Added current_user, is_authenticated? methods. Queries to dashboard. Error in @current_user in application.controller.