Login and username setting working