Added full framework for app, with user registration and profile/pw editing more or less complete