Solved relation definitions and  testing problems
problems with authentication solved (password_digest and so on)