Migrating to WAK5

Fixing the login bug