Adding more account/authentication features. Work in progress.