figured out how to redirect from homepage to userpage