implemented simple login functionality, mongo look up needs work