fix login actions