added login type form stuff