SP17-item02: workflow for admin/simple user account creation/deletion
This is the workflow decided by team for admin account creation:
when fedbiomed is launched, process will check if there is at least one admin account: -> if not, add a new admin account with credentials stored in the config file
this will force fedbiomed to have at least one admin account
For simple user account creation:
user submit request through register
webpage -> this will send a confirmation email to user with an activation link (this step is optional, and might require an email handler, as well as an option to enable/disable such feature) -> when clicking on the email, user request is added to a queue, and admin can approve or not the user account creation through its webpage
optional: to increase security, we might want to force user to change its email/password through a dedicated webpage. process will recognize it is default admin database, maybe by adding a specific field into database