Bug fixing, adding /api/user functionality. Authentication not finished yet