added login comntroller and migrated user table