Added migrations to users table for indices & other contraints

Added md5 hashing for password (todo: salting of hashes)