added login interface, still needs SQL query