add before_action to homes controller to redirect if they are signed in, also added dashboard resource with controller and view