Created UserManager and made other files use it