added login scripts