added model layer for user