Fixed login bug, changed minapilevel to 11