After login redirect

also added the before_filter to avoid nil Object errors from not being
logged in