added accounts management and user registration