adopt me redirects to sign page if not signed in
style, refactor and clean up code