included a crude version of login ability