impl alarm & auto login bug fixed