Getting account's authentication working + some other changes like imports refactoring, etc.