Added method to applicaitons controller to redirect user after signing in