fix bug
- when user is new direct to userdetails page
- use direct to main page instead