added php functionality for creating new logins