added account locking and user schema stub