Working now, added password encryption