Refactored loginUserWithUsername to use blocks instead of notifications