implemented rudimentary api login action