Basic user and admin functions finished.