;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ UserComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(UserComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/user/user.component.ts b/src/app/user/user.component.ts
new file mode 100644
index 0000000..bceae0d
--- /dev/null
+++ b/src/app/user/user.component.ts
@@ -0,0 +1,49 @@
+import { Component, OnInit } from '@angular/core';
+import { Router, ActivatedRoute } from '@angular/router';
+
+@Component({
+ selector: 'app-user',
+ templateUrl: './user.component.html',
+ styleUrls: ['./user.component.css']
+})
+export class UserComponent implements OnInit {
+
+ currentUser;
+
+ constructor(
+ private route: ActivatedRoute,
+ private router: Router
+ ){
+ }
+
+ ngOnInit(){
+ this.currentUser = JSON.parse(localStorage.getItem('currentUser'));
+ buildForm();
+ }
+
+ buildForm(){
+
+ const formGroup = {};
+
+ formGroup["firstName"] = new FormControl( this.currentUser.firstName, this.mapValidators({ required: true }) );
+ formGroup["lastName"] = new FormControl( this.currentUser.lastName, this.mapValidators({ required: true }) );
+ formGroup["email"] = new FormControl( this.currentUser.email, this.mapValidators({ required: true }) );
+ formGroup["art"] = new FormControl( this.currentUser.art, this.mapValidators({ required: false }) );
+
+
+ this.form = new FormGroup(formGroup);
+
+ if( this.currentUser.art.length != 0 ){
+ //this.imageSample = "http://pugludos.com/community/uploads/"+this.currentUser.art+"/" + this.userData.Art + ".png";
+ }else{
+
+ }
+
+ }
+
+
+ isEmptyObject(obj) {
+ return (obj != undefined);
+ }
+
+}
\ No newline at end of file
diff --git a/src/app/view-card/view-card.component.html b/src/app/view-card/view-card.component.html
index 17539f6..4c0dc97 100644
--- a/src/app/view-card/view-card.component.html
+++ b/src/app/view-card/view-card.component.html
@@ -5,7 +5,7 @@
-