sets session[:locale] = user.locale after login