using app namespace for session information
changed url to api endpoint
using app namespace for session and commented console logs
removed redirect from login function
using app namespace for session
removed value from input
removed BaseSession