Bug Fix: registration now correctly validates password
Added sign in functionality.