major refactor to onion architecture
fixed photo provider
fixed issue where redirectUrl wasn't working after login