Non logged in users cannot register
Added redirect to dashboard after login