user table migration and implemented basic authentication