moved dao to core module
added user related functionalities