Updated to include all login functions except for account linking. Facebook login functioning.